{extend name="index:base" /}
{block name="main"}
<h3>代收</h3>
{volist name="tasks" id="task"}
    任务名: {$task.name} <a href="{:url('Secretary/accept',['id'=>$task['id']])}">代收</a>
    <ul>
        {volist name="task.files" id="file"}
            <li><a href="{$file.url}">{$file.create_time}</a></li>
        {/volist}
    </ul>

{/volist}
<h3>代发</h3>
{volist name="sendTasks" id="task"}
任务名: {$task.name} <a href="{:url('Secretary/accept',['id'=>$task['id']])}">代发</a>
<ul>
    {volist name="task.files" id="file"}
    <li><a href="{$file.url}">{$file.create_time}</a></li>
    {/volist}
</ul>
{/volist}
{/block}